package com.jhh.pay.heli.api;

import com.jhh.pay.heli.annotation.HeLiBaoApi;
import com.jhh.pay.heli.bean.withhold.SingleWithholdResult;
import com.jhh.pay.heli.constant.ApiConstant;
import com.jhh.pay.heli.constant.Constant;
import com.jhh.pay.heli.interceptor.LoggingInterceptor;
import retrofit2.Call;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

import java.util.Map;

/**
 * Created by zhangqi on 2017/11/29.
 */
@HeLiBaoApi(value = Constant.DAIKOU,interceptor = LoggingInterceptor.class
        ,timeOut = {100,100,100})
public interface WithholdApi {

    @FormUrlEncoded
    @POST(ApiConstant.withhold)
    Call<SingleWithholdResult> withhold(@FieldMap Map<String, String> map);

    @FormUrlEncoded
    @POST(ApiConstant.withhold)
    Call<SingleWithholdResult> findWithholdOrderState(@FieldMap Map<String, String> map);
}
